﻿using FreeSql.DatabaseModel;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace DataBase.Main
{

    /// <summary>
    /// 设备大类
    /// </summary>
    [JsonObject(MemberSerialization.OptIn), Table(Name = "t_deviceBigType", DisableSyncStructure = true)]
    public partial class TDeviceBigType
    {

        /// <summary>
        /// 主键唯一标识Id
        /// </summary>
        [JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 数据录入时间
        /// </summary>
        [JsonProperty]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 大类小图标用于树形
        /// </summary>
        [JsonProperty, Column(StringLength = -2)]
        public string IconUrl { get; set; }

        /// <summary>
        /// 类型名称
        /// </summary>
        [JsonProperty, Column(Name = "typeName", StringLength = -2)]
        public string TypeName { get; set; }

    }

}
